{include file="header.tpl" title="Them moi RPT Email "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_stype}</td>
     <td colspan="3" style="color:#FF0000"><select name="STYPE" id="STYPE" style="width:120px;" onChange="change_input(this.value)">
	 	{foreach from=$cbo_vn_rptmail_stype key=k item=v}
      <option value="{$k}" {if $select_cbo_vn_rptmail_stype eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 	{/foreach}
	 </select>
      *      </td>
  </tr>
  <tr>
  	<td nowrap="nowrap">{$lbl_brncode}</td>
	<td colspan="3" style="color:#FF0000;"><input name="BRNCODE" id="BRNCODE" type="text" style="background:{$color};width:120px;" value="{$BRNCODE}" maxlength="3"/> * <input type="button" onClick="document.getElementById('USRID').value='';	mywindow = window.open('chi_nhanh_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes'); mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_posid}</td>
    <td><input name="POSID" id="LEVELID" type="text" style="background:{$color};width:120px;" value="{$POSID}" maxlength="2"/>
      <span style="visibility:hidden;"> * </span> <input class="btn_search" type="button" onClick="mywindow = window.open('position_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="btnPosId" id="btnPosId" value="     " />	</td>
    <td>{$lbl_userid}</td>
    <td>
      <input name="USRID" id="USRID" type="text" style="background:{$color};width:120px;" value="{$USRID}" maxlength="10" /> <span style="visibility:hidden;"> * </span> <input class="btn_search" type="button" onClick="mywindow = window.open('user_id.php?brncode=' + document.getElementById('BRNCODE').value, 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="btnUserId" id="btnUserId" value="     " />	</td>
   </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_email}</td>
    <td colspan="3" nowrap="nowrap">
	<textarea name="EMAIL" id="EMAIL" style="background:{$color};width:494px;" value="{$EMAIL}" rows="5"></textarea> </td>
  </tr>
  <tr>
  	<td>{$lbl_moduleid}</td>
    <td style="color:#FF0000;"><input name="MODULEID" id="MODULEID" type="text" style="background:{$color};width:120px;" value="{$MODULEID}" maxlength="2" /> *  <input type="button" onClick="mywindow = window.open('report_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="btnModuleId" id="replacement_binoculars" value="     " /></td>    
  	<td>{$lbl_reportid}</td>
    <td style="color:#FF0000;"><input name="REPORTID" id="REPORTID" type="text" style="background:{$color};width:120px;" value="{$REPORTID}" maxlength="5" /> *  <input type="button" onClick="mywindow = window.open('report_id.php?moduleid='+document.getElementById('MODULEID').value, 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="btnReportId" id="replacement_binoculars" value="     " /></td>  	
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_dbf}</td>
    <td><input name="DBF" id="DBF" type="checkbox" {if $DBF eq 'Y'} checked="checked" {/if}/>    </td>
	<td nowrap="nowrap">{$lbl_xls}</td>
    <td><input name="XLS" id="XLS" type="checkbox" {if $XLS eq 'Y'} checked="checked" {/if}/></td>
  </tr> 
   <tr>
    <td nowrap="nowrap">{$lbl_rcs}</td>
    <td><input name="RCS" id="RCS" type="checkbox" {if $RCS eq 'Y'} checked="checked" {/if}/></td>
	<td nowrap="nowrap">{$lbl_oth}</td>
    <td><input name="OTH" id="OTH" type="checkbox" {if $OTH eq 'Y'} checked="checked" {/if}/></td>
  </tr>      
<tr>
<td colspan="4"><p>&nbsp;</p><p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right"><input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
